void main() {
  printString('jack', location: '南京', age: 16);
}

// 可选命名参数
void printString(String name, {int? age, String? location = '昌平区'}) {
  print('$name - $age - $location ');
}
